fix: improve overlay window behavior on X11 and add background styling#3321
Conversation
1. Add Qt.X11BypassWindowManagerHint flag to ScreenIndicator to ensure window bypasses window manager on X11 2. Replace D.DWindow.enabled with Qt.Tool flag in ScreenRecognize for proper window manager integration 3. Add Rectangle background with rounded corners to ScreenRecognize for proper visual appearance 4. Remove DLayerShellWindow exclusion zone dependency for more reliable overlay behavior Log: Fixed overlay window display issues on X11 Influence: 1. Test ScreenIndicator overlay display on X11 environments 2. Verify ScreenRecognize window shows with correct rounded corners 3. Test window positioning with DLayerShellWindow anchors 4. Verify ESC key press handling still works 5. Test on both Wayland and X11 to ensure no regressions 6. Verify tool window behavior in multi-monitor setups fix: 优化X11环境下的覆盖窗口行为并添加背景样式 1. 为 ScreenIndicator 添加 Qt.X11BypassWindowManagerHint 标志,确保窗口 在 X11 下绕过窗口管理器 2. 将 ScreenRecognize 中的 D.DWindow.enabled 替换为 Qt.Tool 标志,实现更 合适的窗口管理器集成 3. 为 ScreenRecognize 添加带圆角的矩形背景,确保正确的视觉效果 4. 移除对 DLayerShellWindow 排除区域的依赖,实现更可靠的覆盖层行为 Log: 修复了X11下覆盖窗口显示问题 Influence: 1. 在X11环境下测试ScreenIndicator覆盖层显示效果 2. 验证ScreenRecognize窗口显示正确的圆角背景 3. 测试使用DLayerShellWindow锚点定位窗口功能 4. 验证ESC按键处理功能仍正常工作 5. 在Wayland和X11下测试,确保无回归问题 6. 验证多显示器设置中工具窗口的行为 PMS: BUG-367935
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR adjusts window flags and shell integration for the screen overlay windows on X11/Wayland and adds a rounded-rectangle background to the recognition window to fix overlay behavior and improve appearance. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
/forcemerge |
|
This pr force merged! (status: blocked) |
|
Hi @52cyb. Thanks for your PR. I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Log: Fixed overlay window display issues on X11
Influence:
fix: 优化X11环境下的覆盖窗口行为并添加背景样式
Log: 修复了X11下覆盖窗口显示问题
Influence:
PMS: BUG-367935
Summary by Sourcery
Improve overlay window behavior and appearance for screen-related tool windows on X11 and Wayland.
New Features:
Bug Fixes:
Enhancements: